package com.glasses.controller;

import com.glasses.orm.base.Ex.BaseControllerEx;
import com.glasses.service.CommodityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by ashin on 2018/1/24.
 */
@Controller
@Scope("prototype")
@RequestMapping("/commodity")
public class CommodityController extends BaseControllerEx {

    @Autowired
    CommodityService commodityService;

    @Override
    protected void init() {
        super.init(commodityService);
    }

}
